#pragma once

#include <libz800.h>

#include "ui_DlgDisplay.h"

class DlgDisplay : public QDialog
		 , protected Ui_DlgDisplay
{
	Q_OBJECT

public:
	DlgDisplay(QWidget *parent = NULL);

public slots:
	void setDevice(z800_device *dev);
	void setStereoEnabled(bool enabled);

signals:
	void stereoModeChanged(bool enabled);

protected slots:
	void on_reenableDisplayPushButton_pressed();
	void on_wakePushButton_pressed();
	void on_stepBrightnessPushButton_pressed();
	void on_stereoModePushButton_toggled(bool value);
	void on_stereoFlipPushButton_pressed();

protected:
	z800_device *_dev;
};
